package com.sdp.wx.db.wx_army.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zsp
 * @since 2024-01-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wx_army")
public class WxArmy extends Model<WxArmy> {

    private static final long serialVersionUID=1L;

    /**
     * 内码
     */
    @TableId("key_id")
    private String keyId;

    /**
     * 部队番号
     */
    @TableField("army_code")
    private String armyCode;

    /**
     * 部队名称
     */
    @TableField("army_name")
    private String armyName;

    /**
     * 部队通讯地址
     */
    @TableField("army_address")
    private String armyAddress;

    /**
     * 联系电话
     */
    @TableField("army_phone")
    private String armyPhone;

    /**
     * 开户名称
     */
    @TableField("ac_name")
    private String acName;

    /**
     * 开户银行
     */
    @TableField("ac_bank")
    private String acBank;

    /**
     * 银行账号
     */
    @TableField("ac_no")
    private String acNo;


    @Override
    protected Serializable pkVal() {
        return this.keyId;
    }

}
